// 布局容器
.container {
	width: 100%;
	box-sizing: border-box;
	padding: 20px;
}

.border-box {
	box-sizing: border-box;
}


// 块转换
.block {
	display: block;
}

.inline-block {
	display: inline-block;
}

.inline-flex {
	display: inline-flex;
}

// 定位
.relative {
	position: relative;
}

.absolute {
	position: absolute;
}


// 布局类
// float
.f-l {
	float: left;
}

.f-r {
	float: right;
}

// flex类
.flex {
	display: flex;
}

.justify-content-start {
	justify-content: flex-start;
}

.jc-sa {
	justify-content: space-around;
}

.jc-ce {
	justify-content: center;
}

.align-items-center {
	align-items: center;
}

.flex-wrap {
	flex-wrap: wrap !important;
}

.flex-nowrap {
	flex-wrap: nowrap !important;
}

.flex-1 {
	flex: 1;
}


// margin
.m-lr-sm {
	margin: 0 10px;
}

.m-lr-xs {
	margin: 0 5px;
}

.m-tb-sm {
	margin: 10px 0;
}

.m-t-sm {
	margin: 10px 0 0;
}

.m-t-lg {
	margin: 20px 0 0;
}

.m-tb-lg {
	margin: 20px 0;
}

.m-tb-xs {
	margin: 5px 0;
}



// padding左右
.p-lr-lg {
	padding: 0 15px;
}

.p-lr-xl {
	padding: 0 20px;
}

.p-lr-sm {
	padding: 0 10px;
}

// padding上下
.p-t-sm {
	padding-top: 10px;
}

.p-b-sm {
	padding-bottom: 10px;
}

.p-tb-xxl {
	padding: 25px 0;
}

.p-tb-xl {
	padding: 20px 0;
}

.p-tb-lg {
	padding: 15px 0;
}

.p-tb-sm {
	padding: 10px 0;
}

.p-tb-xs {
	padding: 5px 0;
}



// 颜色
.text-red {
	color: #f02626;
}

.text-blue {
	color: #2e92ff;
}

// 激活/交互伪类
.pointer {
	cursor: pointer;
}

.hidden {
	display: none !important;
}

// 圆角
.radio-5 {
	border-radius: 5px;
}

.radio-10 {
	border-radius: 10px;
}

.text-center {
	text-align: center;
}

// 宽度
.w-100 {
	width: 100% !important;
}


// iconfont
.icon {
	width: 1em;
	height: 1em;
	vertical-align: -0.15em;
	fill: currentColor;
	overflow: hidden;
}

// 漂浮动画 js实现(css3性能问题太严重)
// @keyframes floating
// {
// 	0%   {margin-left: -6px;}
// 	25%  {margin-left: 0;}
// 	50%  {margin-left: -6px;}
// 	100% {margin-left: 0;}
// }

// @-webkit-keyframes floating 
// {
//   0%   {margin-left: -6px;}
// 	25%  {margin-left: 0;}
// 	50%  {margin-left: -6px;}
// 	100% {margin-left: 0;}
// }

// 字体 font
.font-12 {
	font-size: 12px;
}

.font-14 {
	font-size: 14px;
}

.font-16 {
	font-size: 16px;
}

.font-18 {
	font-size: 18px;
}

.font-20 {
	font-size: 20px;
}

.font-24 {
	font-size: 24px;
}

.font-32 {
	font-size: 32px;
}

.font-36 {
	font-size: 36px;
}

.font-48 {
	font-size: 48px;
}

// 视口 viewport
@media (max-width: 879px) {
	.body-content {
		padding-bottom: 452.5px;
	}
}

@media (max-width: 739px) {
	.body-content {
		padding-top: 104px;
		padding-bottom: 0;
	}

	.warning-level {
		width: 60px;
		font-size: 14px !important;
	}
}

@media (max-width: 1039px) and (min-width: 740px) {
	.hidden-1040-740 {
		display: none !important;
	}
}

@media (max-width: 999px) {
	.hidden-1000 {
		display: none !important;
	}
}

@media (min-width: 880px) {
	.visible-880 {
		display: none !important;
	}
}

@media (max-width: 879px) and (min-width: 740px) {
	.hidden-880-740 {
		display: none !important;
	}
}

@media (max-width: 879px) {
	.hidden-880 {
		display: none !important;
	}
}

@media (max-width: 767px) {
	body {
		min-width: 320px;
	}
}

@media (min-width: 740px) {
	.container {
		width: 100%;
	}

	.visible-740 {
		display: none !important;
	}
}

@media (max-width: 739px) {
	.container {
		max-width: 540px;
	}

	.hidden-740 {
		display: none !important;
	}
}

@media (max-width: 739px) and (min-width: 512px) {
	.visible-740-512 {
		display: none;
	}
}

@media (min-width: 540px) {
	.visible-540 {
		display: none;
	}
}

@media (max-width: 539px) {
	.hidden-540 {
		display: none !important;
	}
}

@media (max-width: 512px) {
	.hidden-512 {
		display: none !important;
	}
}

@media (max-width: 374px) {
	.hidden-375 {
		display: none !important;
	}
}